//
//  HCLoggerNode.m
//  HCLog
//
//  Created by 韩昌 on 2017/7/11.
//  Copyright © 2017年 Han Chang. All rights reserved.
//

#import "HCLoggerNode.h"

@implementation HCLoggerNode

+ (instancetype)nodeWithLogger:(id<HCLogger>)logger level:(HCLogLevel)level queue:(dispatch_queue_t)queue
{
    return [[self alloc] initWithLogger:logger level:level queue:queue];
}

- (instancetype)initWithLogger:(id<HCLogger>)logger level:(HCLogLevel)level queue:(dispatch_queue_t)queue
{
    if ((self = [super init])) {
        _logger = logger;
        _level = level;
        _queue = queue;
    }
    return self;
}

@end
